﻿using Ionic.Zip;

namespace Zipping
{
    class Program
    {
        static void Main(string[] args)
        {
            using (ZipFile zip = new ZipFile())
            {
                // add this map file into the "images" directory in the zip archive
                zip.AddFile("D:\\az\\Telerik\\lectures\\01. Introduction-to-Programming.pptx", "files");
                // add the report into a different directory in the archive
                zip.AddFile("D:\\az\\Telerik\\lectures\\02. Primitive-Data-Types-and-Variables.pptx", "files");
                zip.AddFile("ReadMe.txt");
                zip.Save("MyZipFile.zip");
            }
        }
    }
}
